FROM openjdk:8

COPY app/target/*.jar /app/app.jar

WORKDIR /app

EXPOSE ${port}

CMD ["java","-jar","app.jar","--server.port=${port}"]

ENV port=8080

